<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.3.1"/>
<title>PaleGem: pgRenderableObject Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">PaleGem
   &#160;<span id="projectnumber">0.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.3.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classpg_renderable_object-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">pgRenderableObject Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>The default renderable object.  
 <a href="classpg_renderable_object.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="pg_renderable_object_8h_source.html">pgRenderableObject.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for pgRenderableObject:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classpg_renderable_object.png" usemap="#pgRenderableObject_map" alt=""/>
  <map id="pgRenderableObject_map" name="pgRenderableObject_map">
<area href="class_i_renderable_object.html" title="Renderable objects interface." alt="IRenderableObject" shape="rect" coords="0,0,128,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:affab05fae24821825bd892158738cdcb"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_renderable_object.html#affab05fae24821825bd892158738cdcb">pgRenderableObject</a> ()</td></tr>
<tr class="separator:affab05fae24821825bd892158738cdcb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a253b492b4f3f9157e4a79c3b8e107bd2"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_renderable_object.html#a253b492b4f3f9157e4a79c3b8e107bd2">pgRenderableObject</a> (<a class="el" href="classpg_renderable_object.html">pgRenderableObject</a> *pCopy)</td></tr>
<tr class="separator:a253b492b4f3f9157e4a79c3b8e107bd2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae315818c55b2f72978f27b091318281a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_renderable_object.html#ae315818c55b2f72978f27b091318281a">~pgRenderableObject</a> ()</td></tr>
<tr class="separator:ae315818c55b2f72978f27b091318281a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11ccb575b1ecc1dcd0e641d985a0e29c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_renderable_object.html#a11ccb575b1ecc1dcd0e641d985a0e29c">Load</a> (const char *szFilePath)</td></tr>
<tr class="memdesc:a11ccb575b1ecc1dcd0e641d985a0e29c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Loads a mesh from the specified filepath.  <a href="#a11ccb575b1ecc1dcd0e641d985a0e29c">More...</a><br/></td></tr>
<tr class="separator:a11ccb575b1ecc1dcd0e641d985a0e29c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0293f0e6bf59fa5344f94a96e65ea26"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_renderable_object.html#ad0293f0e6bf59fa5344f94a96e65ea26">Load</a> ()</td></tr>
<tr class="memdesc:ad0293f0e6bf59fa5344f94a96e65ea26"><td class="mdescLeft">&#160;</td><td class="mdescRight">Used for primitive derived objects.  <a href="#ad0293f0e6bf59fa5344f94a96e65ea26">More...</a><br/></td></tr>
<tr class="separator:ad0293f0e6bf59fa5344f94a96e65ea26"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f88d861da386efdb201dd1497460049"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_renderable_object.html#a6f88d861da386efdb201dd1497460049">Render</a> ()</td></tr>
<tr class="separator:a6f88d861da386efdb201dd1497460049"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a88dd638276dbd1f812aa1940e619d3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_renderable_object.html#a5a88dd638276dbd1f812aa1940e619d3">PreRender</a> ()</td></tr>
<tr class="memdesc:a5a88dd638276dbd1f812aa1940e619d3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called immmediately before <a class="el" href="classpg_renderable_object.html#a6f88d861da386efdb201dd1497460049">Render()</a>.  <a href="#a5a88dd638276dbd1f812aa1940e619d3">More...</a><br/></td></tr>
<tr class="separator:a5a88dd638276dbd1f812aa1940e619d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c09b82c6c02f8c5b071b5f41d8db762"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_renderable_object.html#a0c09b82c6c02f8c5b071b5f41d8db762">PostRender</a> ()</td></tr>
<tr class="memdesc:a0c09b82c6c02f8c5b071b5f41d8db762"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called immediately after <a class="el" href="classpg_renderable_object.html#a6f88d861da386efdb201dd1497460049">Render()</a>.  <a href="#a0c09b82c6c02f8c5b071b5f41d8db762">More...</a><br/></td></tr>
<tr class="separator:a0c09b82c6c02f8c5b071b5f41d8db762"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae8b043753092952bf012283460eeae3a"><td class="memItemLeft" align="right" valign="top">XMMATRIX&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_renderable_object.html#ae8b043753092952bf012283460eeae3a">GetWorldTransformMatrix</a> ()</td></tr>
<tr class="separator:ae8b043753092952bf012283460eeae3a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b37315c868aa9662fabd08e4b185cd3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_renderable_object.html#a3b37315c868aa9662fabd08e4b185cd3">SetWorldTransformMatrix</a> (XMMATRIX mat)</td></tr>
<tr class="separator:a3b37315c868aa9662fabd08e4b185cd3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a25bb8965ea9b67573bed3176d1501fb8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_renderable_object.html#a25bb8965ea9b67573bed3176d1501fb8">SetMesh</a> (<a class="el" href="classpg_mesh.html">pgMesh</a> *pM)</td></tr>
<tr class="separator:a25bb8965ea9b67573bed3176d1501fb8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_i_renderable_object"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_i_renderable_object')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_i_renderable_object.html">IRenderableObject</a></td></tr>
<tr class="memitem:a8617f0f0fe197a0bfd3939476ba03aad inherit pub_methods_class_i_renderable_object"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_renderable_object.html#a8617f0f0fe197a0bfd3939476ba03aad">~IRenderableObject</a> ()</td></tr>
<tr class="separator:a8617f0f0fe197a0bfd3939476ba03aad inherit pub_methods_class_i_renderable_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:a938d73b0ab6b2b4ca02710613ed0d3fe"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_renderable_object.html#a938d73b0ab6b2b4ca02710613ed0d3fe">LoadOBJ</a> (const char *szFilePath)</td></tr>
<tr class="memdesc:a938d73b0ab6b2b4ca02710613ed0d3fe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Loads an OBJ style mesh.  <a href="#a938d73b0ab6b2b4ca02710613ed0d3fe">More...</a><br/></td></tr>
<tr class="separator:a938d73b0ab6b2b4ca02710613ed0d3fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad2a827c02e2907138766b246094d18e3"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_renderable_object.html#ad2a827c02e2907138766b246094d18e3">LoadOBJMaterial</a> (const char *szFilePath)</td></tr>
<tr class="memdesc:ad2a827c02e2907138766b246094d18e3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Load a material from a file.  <a href="#ad2a827c02e2907138766b246094d18e3">More...</a><br/></td></tr>
<tr class="separator:ad2a827c02e2907138766b246094d18e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a6fa711f5ec3f01a7b94d6f729ce636"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_renderable_object.html#a2a6fa711f5ec3f01a7b94d6f729ce636">LoadFBX</a> (const char *szFilePath)</td></tr>
<tr class="memdesc:a2a6fa711f5ec3f01a7b94d6f729ce636"><td class="mdescLeft">&#160;</td><td class="mdescRight">Load a FBX file.  <a href="#a2a6fa711f5ec3f01a7b94d6f729ce636">More...</a><br/></td></tr>
<tr class="separator:a2a6fa711f5ec3f01a7b94d6f729ce636"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a59af497ddf4638a9cc45a457fff43d49"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classpg_mesh.html">pgMesh</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_renderable_object.html#a59af497ddf4638a9cc45a457fff43d49">m_pMesh</a></td></tr>
<tr class="memdesc:a59af497ddf4638a9cc45a457fff43d49"><td class="mdescLeft">&#160;</td><td class="mdescRight">The geometry.  <a href="#a59af497ddf4638a9cc45a457fff43d49">More...</a><br/></td></tr>
<tr class="separator:a59af497ddf4638a9cc45a457fff43d49"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a41ee63e534cf8eb40813a9186bdabacf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classpg_material.html">pgMaterial</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_renderable_object.html#a41ee63e534cf8eb40813a9186bdabacf">m_pMaterial</a></td></tr>
<tr class="memdesc:a41ee63e534cf8eb40813a9186bdabacf"><td class="mdescLeft">&#160;</td><td class="mdescRight">The material.  <a href="#a41ee63e534cf8eb40813a9186bdabacf">More...</a><br/></td></tr>
<tr class="separator:a41ee63e534cf8eb40813a9186bdabacf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05ef8f7138d0520a0647ac4f12691d7f"><td class="memItemLeft" align="right" valign="top">XMMATRIX&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_renderable_object.html#a05ef8f7138d0520a0647ac4f12691d7f">m_worldTransformMatrix</a></td></tr>
<tr class="separator:a05ef8f7138d0520a0647ac4f12691d7f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a583de5c090cf8fcc6bcaa23d610e9c80"><td class="memItemLeft" align="right" valign="top">ID3D11Buffer *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_renderable_object.html#a583de5c090cf8fcc6bcaa23d610e9c80">m_pConstantBuffer</a></td></tr>
<tr class="separator:a583de5c090cf8fcc6bcaa23d610e9c80"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The default renderable object. </p>
<p>Currently support for Wavefront OBJ and Autodesk FBX is planned. OBJ will be discarded once FBX fully functions. Also plannings are that PaleGem will use its own material file format hence the object consists of geometry and a material. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="class_i_renderable_object.html" title="Renderable objects interface.">IRenderableObject</a> </dd></dl>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="affab05fae24821825bd892158738cdcb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">pgRenderableObject::pgRenderableObject </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a253b492b4f3f9157e4a79c3b8e107bd2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">pgRenderableObject::pgRenderableObject </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classpg_renderable_object.html">pgRenderableObject</a> *&#160;</td>
          <td class="paramname"><em>pCopy</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ae315818c55b2f72978f27b091318281a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">pgRenderableObject::~pgRenderableObject </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="ae8b043753092952bf012283460eeae3a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">XMMATRIX pgRenderableObject::GetWorldTransformMatrix </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements <a class="el" href="class_i_renderable_object.html#a9eb9acb43b22ec1a60b570630afaebf5">IRenderableObject</a>.</p>

</div>
</div>
<a class="anchor" id="a11ccb575b1ecc1dcd0e641d985a0e29c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool pgRenderableObject::Load </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>szFilePath</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Loads a mesh from the specified filepath. </p>
<p>The format is chosen by the extension </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">szFilePath</td><td>Path to the mesh file </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true on success </dd></dl>

<p>Implements <a class="el" href="class_i_renderable_object.html#a69fb217e1529b5ae33107d256f20f9e9">IRenderableObject</a>.</p>

</div>
</div>
<a class="anchor" id="ad0293f0e6bf59fa5344f94a96e65ea26"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool pgRenderableObject::Load </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Used for primitive derived objects. </p>

<p>Implements <a class="el" href="class_i_renderable_object.html#a527206d091af2f65837cd7bb83a7ddcb">IRenderableObject</a>.</p>

</div>
</div>
<a class="anchor" id="a2a6fa711f5ec3f01a7b94d6f729ce636"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool pgRenderableObject::LoadFBX </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>szFilePath</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Load a FBX file. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">szFilePath</td><td>Path to the *.fbx file </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true on succes </dd></dl>

</div>
</div>
<a class="anchor" id="a938d73b0ab6b2b4ca02710613ed0d3fe"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool pgRenderableObject::LoadOBJ </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>szFilePath</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Loads an OBJ style mesh. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">szFilePath</td><td>Path to the *.obj file </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true on success </dd></dl>

</div>
</div>
<a class="anchor" id="ad2a827c02e2907138766b246094d18e3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool pgRenderableObject::LoadOBJMaterial </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>szFilePath</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Load a material from a file. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">szFilePath</td><td>Path tp the *.mtl file </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true on success </dd></dl>

</div>
</div>
<a class="anchor" id="a0c09b82c6c02f8c5b071b5f41d8db762"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void pgRenderableObject::PostRender </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Called immediately after <a class="el" href="classpg_renderable_object.html#a6f88d861da386efdb201dd1497460049">Render()</a>. </p>

<p>Implements <a class="el" href="class_i_renderable_object.html#acc15b8342715b37a63cbfe65d1f28301">IRenderableObject</a>.</p>

</div>
</div>
<a class="anchor" id="a5a88dd638276dbd1f812aa1940e619d3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void pgRenderableObject::PreRender </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Called immmediately before <a class="el" href="classpg_renderable_object.html#a6f88d861da386efdb201dd1497460049">Render()</a>. </p>

<p>Implements <a class="el" href="class_i_renderable_object.html#a17f8490e4248b2e86f80c096eb8b5061">IRenderableObject</a>.</p>

</div>
</div>
<a class="anchor" id="a6f88d861da386efdb201dd1497460049"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void pgRenderableObject::Render </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="class_i_renderable_object.html#a1137c257fc196fda57f81d9e8a08a40f" title="This function needs to take care of rendering the object.">IRenderableObject::Render()</a> </dd></dl>

<p>Implements <a class="el" href="class_i_renderable_object.html#a1137c257fc196fda57f81d9e8a08a40f">IRenderableObject</a>.</p>

</div>
</div>
<a class="anchor" id="a25bb8965ea9b67573bed3176d1501fb8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void pgRenderableObject::SetMesh </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classpg_mesh.html">pgMesh</a> *&#160;</td>
          <td class="paramname"><em>pM</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a3b37315c868aa9662fabd08e4b185cd3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void pgRenderableObject::SetWorldTransformMatrix </td>
          <td>(</td>
          <td class="paramtype">XMMATRIX&#160;</td>
          <td class="paramname"><em>mat</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements <a class="el" href="class_i_renderable_object.html#a001ef1f9df8f5ff46f25b16b5e4f1538">IRenderableObject</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a583de5c090cf8fcc6bcaa23d610e9c80"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">ID3D11Buffer* pgRenderableObject::m_pConstantBuffer</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a41ee63e534cf8eb40813a9186bdabacf"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classpg_material.html">pgMaterial</a>* pgRenderableObject::m_pMaterial</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The material. </p>

</div>
</div>
<a class="anchor" id="a59af497ddf4638a9cc45a457fff43d49"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classpg_mesh.html">pgMesh</a>* pgRenderableObject::m_pMesh</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The geometry. </p>

</div>
</div>
<a class="anchor" id="a05ef8f7138d0520a0647ac4f12691d7f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">XMMATRIX pgRenderableObject::m_worldTransformMatrix</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>Inc/<a class="el" href="pg_renderable_object_8h_source.html">pgRenderableObject.h</a></li>
<li>Source/<a class="el" href="pg_renderable_object_8cpp.html">pgRenderableObject.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Mar 1 2013 11:55:07 for PaleGem by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.3.1
</small></address>
</body>
</html>
